package org.jeecg.modules.online.desform.excel.converter.impl;

import org.jeecg.modules.online.desform.excel.converter.ConvertUtil;
import org.jeecg.modules.online.desform.vo.widget.DesformWidget;

import java.util.Arrays;

/**
 * select-depart 部门转换器
 */
public class SelectDepartConverter extends JeecgBizConvert {

    public SelectDepartConverter(DesformWidget widget) {
        super(widget,
                ConvertUtil.DEPART_TABLE_NAME,
                ConvertUtil.DEPART_TEXT_NAME,
                // 部门组件允许翻译的字段有：id、orgCode
                Arrays.asList(ConvertUtil.ID_NAME, ConvertUtil.DEPART_ORG_CODE_NAME)
        );
    }

}
